package com.nmsl.system.service;

import java.util.List;
import com.nmsl.system.domain.JinDepartments;

/**
 * 科室Service接口
 * 
 * @author jin
 * @date 2025-02-19
 */
public interface IJinDepartmentsService 
{
    /**
     * 查询科室
     * 
     * @param departmentId 科室主键
     * @return 科室
     */
    public JinDepartments selectJinDepartmentsByDepartmentId(Long departmentId);

    public List<JinDepartments> selectJinDepartmentsTree();

    /**
     * 查询科室列表
     * 
     * @param jinDepartments 科室
     * @return 科室集合
     */
    public List<JinDepartments> selectJinDepartmentsList(JinDepartments jinDepartments);

    /**
     * 新增科室
     * 
     * @param jinDepartments 科室
     * @return 结果
     */
    public int insertJinDepartments(JinDepartments jinDepartments);

    /**
     * 修改科室
     * 
     * @param jinDepartments 科室
     * @return 结果
     */
    public int updateJinDepartments(JinDepartments jinDepartments);

    /**
     * 批量删除科室
     * 
     * @param departmentIds 需要删除的科室主键集合
     * @return 结果
     */
    public int deleteJinDepartmentsByDepartmentIds(Long[] departmentIds);

    /**
     * 删除科室信息
     * 
     * @param departmentId 科室主键
     * @return 结果
     */
    public int deleteJinDepartmentsByDepartmentId(Long departmentId);
}
